
<div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">微信公众号</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-6">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            公众号新建
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6">
                                    <form role="form" method="post" enctype="multipart/form-data">
                                        <div class="form-group">
                                            <label>公众号名称</label>
                                            <input class="form-control" name="wxname" placeholder="请输入公众号名称">
                                        </div>

                                        <div class="form-group">
                                            <label>头像</label>
                                            <img src="" width="200px" height="200px" data-preview="uploadFile">
                                            <input type="hidden" name="headerpic" data-set="uploadFile">
                                            <input class="form-control" type="file"   data-action="uploadFile">
                                        </div>

                                        <div class="form-group">
                                            <label>原始ID</label>
                                            <input class="form-control" name="wxid"  placeholder="请输入微信公众号原始ID">
                                        </div>
                                        <div class="form-group">
                                            <label>微信号</label>
                                            <input class="form-control" name="weixin"  placeholder="请输入微信号">
                                        </div>
                                        <div class="form-group">
                                            <label>appID</label>
                                            <input class="form-control" name="appid"  placeholder="请输入appID">
                                        </div>
                                        <div class="form-group">
                                            <label>appSecrect</label>
                                            <input class="form-control" name="appsecret"  placeholder="请输入appSeret">
                                        </div>
                                        
                                        <div class="form-group">
                                            <label>账号类型</label>
                                            <select class="form-control" name="wechat_type" >
                                                <option value="1"  >订阅号</option>
                                                <option value="2"  >服务号</option>
                                                <option value="3"  >企业号</option>
                                           
                                            </select>
                                        </div>

                                        <div class="form-group">
                                            <label>省份</label>
                                            <span class="province">
                                                <select class="form-control" name="province" id="provinceSelect">
                                                    <volist name="provinceList" id="province">

                                                     <option value="{$province.id}" >{$province['regionname']}</option>

                                                    </volist>
                                                   
                                                </select>
                                            </span>
                                        </div>

                                        <div class="form-group">
                                            <label>城市</label>
                                            <span class="city">
                                                <select class="form-control" name="city" id="citySelect" >
                                                   
                                               
                                                </select>
                                            </span>
                                        </div>
                                        
                                        <div class="form-group">
                                            <label>QQ</label>
                                            <input class="form-control" name="appsecret" value="{$wxItem['qq']}" placeholder="请输入QQ号码">
                                        </div>

                                        <button type="submit" class="btn btn-default">提交</button>
                                    </form>

                                </div>
                                <!-- /.col-lg-6 (nested) -->
                               
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->
        
        <script src="/Public/js/admin/region.js"></script>

        <script type="text/javascript" src="/Public/js/common.upload.js"></script>
        <script type="text/javascript">
            common.upload.img.init();
        </script>